package com.apt.model;

public class AptTest {
  
	/*This class has both setters and getters since it is being used in jsp for updates too*/
  private String testId;
  private String testName;
  private String testDescription;
  private int totalNumberOfQuesions;
  private String disabled;
  private int duration;
  
  public AptTest()
  {
	  // Required,  since this class is used in update action
	  
  }
  public AptTest(String testId,String testName, String testDesc,int total,String disabled,int duration)
  {
	  this.testId = testId;
	  this.testName = testName;
	  this.testDescription = testDesc;
	  this.totalNumberOfQuesions = total;
	  this.disabled=disabled;
	  this.duration = duration;
	  
  }

  public String getTestId() {
		return testId;
	}
	public String getTestName() {
		return testName;
	}
	public String getTestDescription() {
		return testDescription;
	}

	public String getDisabled() {
		return disabled;
	}

	public int getTotalNumberOfQuesions() {
		return totalNumberOfQuesions;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public void setTestId(String testId) {
		this.testId = testId;
	}

	public void setTestName(String testName) {
		this.testName = testName;
	}

	public void setTestDescription(String testDescription) {
		this.testDescription = testDescription;
	}

	public void setTotalNumberOfQuesions(int totalNumberOfQuesions) {
		this.totalNumberOfQuesions = totalNumberOfQuesions;
	}

	public void setDisabled(String disabled) {
		this.disabled = disabled;
	}

	
	
}
